import models.Account;
import play.jobs.Job;
import play.jobs.OnApplicationStart;

@OnApplicationStart
public class Bootstrap extends Job {

    public void doJob() {
        if (Account.count() == 0) {
            new Account("hsbc", "1234", "1", "creditHsbc").save();
            new Account("hsbc", "1234", "2", "debitHsbc").save();
        }
    }
}